<template>
    <div class="ptop">
        <div class="con">
            <div class="img1"><img src="@/assets/logo-personal.jpg" alt=""></div>
            <div class="searchBox">
                <input type="text" placeholder="商品名称、作者、出版社、ISBN">
                <div class="inpInfo">在售<el-icon><CaretBottom /></el-icon></div>
                <div class="searchBtn">搜索</div>
            </div>
        </div>
    </div>
</template>

<script lang="ts">
export default {

}
</script>

<style lang="scss" scoped>
.ptop {
    height: 60px;
    width: 100%;
    margin-bottom: 10px;
    background-color: #fff;

    // border: 1px solid red;
    .con {
        width: 1000px;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
       

    }

    .img1 {
        width: 240px;
        height: 60px;

        >img {
            margin-top: 18px;
            height: 30px;
            width: 100%;
        }
    }

    .searchBox {
        display: flex;
        justify-content: space-between;
        font-size: 16px;
        width: 500px;
        height: 28px;
        border: 2px solid #8c222c;

        input {
            font-size: 12px;
            line-height: 150%;
            font-family: tahoma, arial, sans-serif, "宋体";
            color: #333;
            padding-left: 20px;
            width: 340px;
            font-family: tahoma, arial, sans-serif, "宋体";
            color: #333;
            border: transparent;
            outline: none;
            box-sizing: border-box;
        }

        .inpInfo {
            font-size: 12px;
            line-height: 20px;
            padding: 5px;
            font-family: tahoma, arial, sans-serif, "宋体";
            color: #333;
            border-left: 1px solid #ccc;
        }
        .searchBtn {
            width: 88px;
            height: 28px;
            border: 0;
            padding-left: 2px;
            line-height: 28px;
            font-size: 16px;
            color: #fff;
            border-radius: 0;
            background-color: #8c222c;
            text-align: center;
            cursor: pointer;

        }

    }


}
</style>